package com.anyou.mall.fin.mapper;

import java.util.List;
import com.anyou.mall.fin.domain.StoreWithdrawalAduit;
import com.anyou.mall.fin.param.TixRecordParam;
import com.anyou.mall.fin.vo.StoreWithdrawalRecordVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商家提现Mapper接口
 *
 * @author gaochaohao
 * @date 2022-04-19
 */
public interface StoreWithdrawalAduitMapper extends BaseMapper<StoreWithdrawalAduit>
{
    /**
     * 查询商家提现
     *
     * @param storeWithdrawalAduitId 商家提现主键
     * @return 商家提现
     */
    public StoreWithdrawalAduit selectStoreWithdrawalAduitByStoreWithdrawalAduitId(Long storeWithdrawalAduitId);

    /**
     * 查询商家提现列表
     *
     * @param storeWithdrawalAduit 商家提现
     * @return 商家提现集合
     */
    public List<StoreWithdrawalAduit> selectStoreWithdrawalAduitList(StoreWithdrawalAduit storeWithdrawalAduit);

    /**
     * 新增商家提现
     *
     * @param storeWithdrawalAduit 商家提现
     * @return 结果
     */
    public int insertStoreWithdrawalAduit(StoreWithdrawalAduit storeWithdrawalAduit);

    /**
     * 修改商家提现
     *
     * @param storeWithdrawalAduit 商家提现
     * @return 结果
     */
    public int updateStoreWithdrawalAduit(StoreWithdrawalAduit storeWithdrawalAduit);

    /**
     * 删除商家提现
     *
     * @param storeWithdrawalAduitId 商家提现主键
     * @return 结果
     */
    public int deleteStoreWithdrawalAduitByStoreWithdrawalAduitId(Long storeWithdrawalAduitId);

    /**
     * 批量删除商家提现
     *
     * @param storeWithdrawalAduitIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStoreWithdrawalAduitByStoreWithdrawalAduitIds(Long[] storeWithdrawalAduitIds);

    /**
     * 商家提现记录
     * @param carPartsShopId
     * @return
     */
    List<StoreWithdrawalRecordVo> getRecord(Long carPartsShopId);
    /**
     * 商家提现记录-分页
     * @param param
     * @return
     */
    List<StoreWithdrawalRecordVo> getRecord2(@Param("param")TixRecordParam param);
}
